header {
  position: fixed;
  top: 0;
  margin-top: 34px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px;
  background-color: hsl(0, 0%, 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: top 0.3s;
}

.header-hidden {
  top: -50px;
}

.content {
  margin-top: 100px;
}

.logo {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-left: 500px; /* Adjusted for better centering */
  margin-right: auto; /* Adjusted for better centering */
}

.logo img {
  width: 150px;
  height: auto;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline-block;
  margin-right: 20px;
}

nav ul li:last-child {
  margin-right: 40px; /* Added 'px' */
}

nav a {
  color: #000000;
  text-decoration: none;
  padding: 10px;
  border: 2px solid transparent;
  border-radius: 0px;
  font-family: 'Jost', 'Arial';
  font-size: 13px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0);
}

nav a:hover {
  border-top: 3px solid #672431;
}

.menu-toggle {
  display: none; /* Hide checkbox in all modes */
}

/* Media Query for mobile devices */
@media (max-width: 1000px) {
  .logo {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-left: 30px; /* Adjusted for better centering */
    margin-right: auto; /* Adjusted for better centering */
  }

  .menu-toggle {
      display: none; /* Hide checkbox by default */
  }

  .menu-icon {
      display: flex; /* Show toggle on mobile */
      flex-direction: column;
      cursor: pointer;
      margin-right: 40px;
  }

  .bar {
      height: 3px;
      width: 25px;
      background-color: #000;
      margin: 2px 0;
      transition: all 0.6s ease;
  }

  .bar:hover {
      background-color: hsl(340, 61%, 22%);
  }

  nav {
      max-height: 0; /* Start hidden */
      overflow: hidden; /* Hide overflow */
      width: 100%;
      background-color: hsl(0, 0%, 100%);
      position: absolute; /* Overlay the menu */
      top: 60px; /* Below the header */
      left: 0;
      z-index: 200; /* Ensure it appears above other content */
      transition: max-height 1s ease; /* Animation for height change */
      box-shadow: 0 2px 4px -2px black;
  }

  nav a {
      color: #000000;
      text-decoration: none;
      padding: 8px;
      border: 2px solid transparent;
      border-radius: 0px;
      font-family: 'Jost', 'Arial';
      font-size: 9px;
      font-weight: bold;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0);
  }

  /* Show nav when checkbox is checked */
  #mobile-menu:checked + .menu-icon + nav {
      max-height: 500px; /* Adjust to fit your content */
      display: block; /* Ensure nav is displayed when active */
  }

  nav ul {
      flex-direction: column; /* Stack items vertically */
      padding: 10px; /* Add some padding */
  }

  nav ul li {
      margin: 10px 0; /* Vertical spacing between items */
  }
}


body {
  margin: 0;
  padding: 0;
}

.background-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  height: 80vh;
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  text-align: center; /* Ensure text is centered */
}

.background-image2 {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.background-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.button {
  background-color: hsl(340, 61%, 22%);
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  font-family: 'Jost', 'Arial';
  font-weight: Bold;
  margin: 2px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0);
}

.button:hover {
  background-color: hsl(0, 0%, 0%);
}

.message-bar {
  background-color: #000000;
  color: #ffffff;
  font-family: 'Jost', 'Arial';
  font-size: 10px;
  padding: 10px 10px;
  text-align: left;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
}

.message-bar p {
  margin: 0;
}

.icon {
  width: 20px;
  height: auto;
  margin-right: 5px;
}

.footer {
  background-color: #000000;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer .hours {
  align-items: center;
}

.social-icons {
  margin-bottom: 5px;
  margin-left: 25px;
}

.social-icon {
  display: inline-block;
  margin: 0 5px;
}

.social-icon img {
  width: 40px;
  height: auto;
}

.hours {
  font-family: "Jost", arial;
  padding: 20px;
  font-size: 12px;
}

.footer p {
  margin: 0;
  font-size: 10px;
  font-family: 'Jost', 'Arial';
}

.footer h1 {
  font-size: 20px;
  font-family: 'Jost', 'Arial';
}

.footer a:hover {
  text-decoration: underline;
}
